package com.bytic.miaosha.redis;

import com.bytic.miaosha.constant.KeyConstant;

public class GoodsKey extends BaseKeyPrefix {

    public GoodsKey(int expire, String prefix) {
        super(expire, prefix);
    }

    public static GoodsKey goodsList = new GoodsKey(KeyConstant.GOODS_LIST_EXPIRES, KeyConstant.GOODS_LIST_PREFIX);
    public static GoodsKey goodsDetail = new GoodsKey(KeyConstant.GOODS_LIST_EXPIRES, KeyConstant.GOODS_DETAIL_PREFIX);
    public static GoodsKey goodStock = new GoodsKey(0, "gs");
}
